package com.movieproject.daos;

import java.util.List;

import com.movieproject.dataobjects.Movie;

public interface MovieDAO {
    	public List<Movie> getAllMovies();
    	public List<Movie> getMoviesByGenre(String genre);
    	public Movie getMovie(int movieID);
    	public List<String> getGenres();
    	public List<String> getRatings();
    	public void updateMovie(Movie movie);
    	public void deleteMovie(Movie movie);
		public void insert(Movie movie);
		public Double getAverageRating(Movie movie);
		public Long getPopularity(Movie movie);
		public List<Movie> searchMovies(String searchstring);
		public List<Movie> filterMovies(String genre, String year, String rating);
}
